<template>
  <div class="zdhf-box">
    <div class="zdhf-header">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="网页端" name="first"></el-tab-pane>
        <el-tab-pane label="手机app" name="second"></el-tab-pane>
        <el-tab-pane label="微信小程序" name="third"></el-tab-pane>
        <el-tab-pane label="微博" name="fourth"></el-tab-pane>
        <el-tab-pane label="手机站" name="fifth"></el-tab-pane>
        <el-tab-pane label="移动网站" name="sixth"></el-tab-pane>
      </el-tabs>
    </div>
    <div class="zdhf-text">
      <span>欢迎消息</span>
    </div>
    <div class="zdhf-switch1">
      <el-switch v-model="value1" active-text="开启" inactive-text="关闭">
      </el-switch>
    </div>
    <div class="zdhf-text1">
      <span>每段对话开启时，系统将自动向顾客发送一段欢迎语</span>
    </div>
    <div class="zdhf-textbook">
        <my-textarea rows='7' width="600" ph="请输入消息内容"></my-textarea>
    </div>
    <div class="zdhf-button">
      <el-button type="primary" id="lzg1">保存</el-button>
    </div>
    <div class="zdhf-fgline">
      <el-divider></el-divider>
    </div>
    <div class="zdhf-text2">
      <span>客服无应答时消息</span>
    </div>
    <div class="zdhf-switch2">
      <el-switch v-model="value2" active-text="开启" inactive-text="关闭">
      </el-switch>
    </div>
    <div class="zdhf-text3">
      <span>客服一段时间没有响应顾客消息时，系统自动向他发送一段消息</span>
    </div>
    <div class="zdhf-text4">
      <span>客服超过</span>
    </div>
    <div class="zdhf-textbook1">
      <el-input type="textarea1" placeholder="20" v-model="textarea1" id="lzg3">
      </el-input>
    </div>
    <div class="zdhf-text5">
      <span>秒无响应时自动发送</span>
    </div>
    <div class="zdhf-textbook3">
<my-textarea rows='7' width="600" ph="请输入消息内容"></my-textarea>
    </div>
    <div class="zdhf-button1">
      <el-button type="primary" id="lzg5">保存</el-button>
    </div>
    <div class="zdhf-fgline1">
      <el-divider></el-divider>
    </div>
    <div class="zdhf-text6">
      <span>对话结束</span>
    </div>
    <div class="zdhf-switch3">
      <el-switch v-model="value3" active-text="开启" inactive-text="关闭">
      </el-switch>
    </div>
    <div class="zdhf-text7">
      <span>对话结束后，系统自动向顾客发送一段结束语</span>
    </div>
    <div class="zdhf-text8">
      <span>客服手动结束时</span>
    </div>
    <div class="zdhf-textbook4">
 <my-textarea rows='7' width="600" ph="请输入消息内容"></my-textarea>
    </div>
    <div class="zdhf-text9">
      <span>系统自动关闭时</span>
    </div>
    <div class="zdhf-textbook5">
<my-textarea rows='7' width="600" ph="请输入消息内容"></my-textarea>
    </div>
    <div class="zdhf-button2">
      <el-button type="primary" id="lzg8">保存</el-button>
    </div>
  </div>
</template>

<script>
import MyTextarea from "@/components/MyInput/MyTextarea";
export default {
  components: {
    MyTextarea,
  },
  data() {
    return {
      activeName: "first",
      value1: true,
      textarea: "",
      value2: true,
      textarea1: "",
      value3: true,
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style>
.zdhf-box {
  width: 1040px;
  height: 1697px;
  background-color: #ffffff;
}
.zdhf-header {
  width: 1040px;
  height: 44px;
  position: relative;
  left: 20px;

  padding-top: 20px;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 20px;
}
.zdhf-text {
  width: 56px;
  height: 19px;
  color: #333333;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;

  position: relative;
  top: 25px;
  left: 15px;
}
.zdhf-switch1 {
  position: relative;
  top: 5px;
  left: 90px;
}
.zdhf-text1 {
  width: 299px;
  height: 17px;
  color: #cccccc;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;

  position: relative;
  top: 10px;
  left: 15px;
}
.zdhf-textbook  {
  width: 600px;
  height: 160px;
  background-color: #f2f2f2;
  font-size: 13px;
  color: gray;
  border-radius: 0%;

  position: relative;
  top: 40px;
  left: 15px;
}
.zdhf-button #lzg1 {
  width: 80px;
  height: 32px;
  border-radius: 0%;
  position: relative;
  top: 55px;
  left: 15px;
}
.zdhf-fgline {
  position: relative;
  top: 50px;
  left: 15px;
}
.zdhf-text2 {
  width: 112px;
  height: 19px;
  color: #333333;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;

  position: relative;
  top: 50px;
  left: 15px;
}
.zdhf-switch2 {
  position: relative;
  top: 32px;
  left: 150px;
}
.zdhf-text3 {
  width: 364px;
  height: 17px;
  color: #cccccc;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;

  position: relative;
  top: 32px;
  left: 15px;
}
.zdhf-text4 {
  width: 56px;
  height: 19px;
  color: #333333;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;

  position: relative;
  top: 50px;
  left: 15px;
}
.zdhf-textbook1 #lzg3 {
  width: 45px;
  height: 40px;
  background-color: #f2f2f2;
  font-size: 13px;
  color: gray;
  border-radius: 0%;

  position: relative;
  top: 25px;
  left: 80px;
}
.zdhf-text5 {
  width: 126px;
  height: 19px;
  color: #333333;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;

  position: relative;
  top: -8px;
  left: 140px;
}
.zdhf-textbook3{
  width: 600px;
  height: 160px;
  background-color: #f2f2f2;
  font-size: 13px;
  color: gray;
  border-radius: 0%;

  position: relative;
  top: 30px;
  left: 15px;
}
.zdhf-button1 #lzg5 {
  width: 80px;
  height: 32px;
  border-radius: 0%;
  position: relative;
  top: 50px;
  left: 15px;
}
.zdhf-fgline1 {
  position: relative;
  top: 45px;
  left: 15px;
}
.zdhf-text6 {
  width: 56px;
  height: 19px;
  color: #333333;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;

  position: relative;
  top: 45px;
  left: 15px;
}
.zdhf-switch3 {
  position: relative;
  top: 26px;
  left: 100px;
}
.zdhf-text7 {
  width: 260px;
  height: 17px;
  color: #cccccc;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;

  position: relative;
  top: 25px;
  left: 15px;
}
.zdhf-text8 {
  width: 98px;
  height: 19px;
  color: #333333;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;

  position: relative;
  top: 80px;
  left: 15px;
}
.zdhf-textbook4{
  width: 600px;
  height: 160px;
  background-color: #f2f2f2;
  font-size: 13px;
  color: gray;
  border-radius: 0%;

  position: relative;
  top: 100px;
  left: 15px;
}
.zdhf-text9 {
  width: 98px;
  height: 19px;
  color: #333333;
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;

  position: relative;
  top: 120px;
  left: 15px;
}
.zdhf-textbook5{
  width: 600px;
  height: 160px;
  background-color: #f2f2f2;
  font-size: 13px;
  color: gray;
  border-radius: 0%;

  position: relative;
  top: 140px;
  left: 15px;
}
.zdhf-button2 #lzg8 {
  width: 80px;
  height: 32px;
  border-radius: 0%;
  position: relative;
  top: 165px;
  left: 15px;
}
</style>